package com.gdut.simple.model;

import com.gdut.simple.common.RequestCallback;
import com.gdut.simple.data.entity.History;

import java.util.List;

public interface IHistoryModel {

    void queryHistory(RequestCallback<List<History>> callback);

    void querySingleHistory(String title, String url, RequestCallback<History> callback);

    long addHistory(History history);

    long deleteHistory(History history);

    void clear();

}
